var BASE_DIR = __dirname + '/../';
var UTIL = BASE_DIR + '/util/';
var CONF = BASE_DIR + '/config/';

var ConfUtil = require(UTIL + 'ConfUtil');
var assert = require('assert');

ConfUtil.init(CONF + 'upay.properties');
var priKeyPath = ConfUtil.get('keystore.priKeyPath');
var pubKeyPath = ConfUtil.get('keystore.pubKeyPath');
var alias = ConfUtil.get('keystore.alias');
var password = ConfUtil.get('keystore.password');
assert('config/cmsz.pem' === priKeyPath);
assert('config/cmsz.cer' === pubKeyPath);
assert('cmszcs' === alias);
assert('changeits' === password);
